<?php
include_once "token.php";
$appid="wxa8d16e1cf11c40a7";
$appsecret="ec585265ee1bab6ebd8b6a51865db503";

//$code=$_GET["code"];
//$url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=".$appid."&secret=".$appsecret."&code=".$code."&grant_type=authorization_code ";
	

$get_menu="https://api.weixin.qq.com/cgi-bin/menu/get?access_token=T7ZWNlRsFKb9J243s406zPSJCdJWkTFK9OqhT5rO2DcYMr2yP-aItQaeBS2yrhnxdCUMnEXGIe_o2jklNBfHyJqzlyAgP9GYsXtUO9Rgg2wV_KEYj2R6m5WHLj6QfxFaOXSbABADMH";	
echo file_get_contents($get_menu); 


//https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx520c15f417810387&redirect_uri=https%3a%2f%2f120.26.242.42%2fwx%2fdeltag.php&response_type=code&scope=snsapi_base&state=123#wechat_redirect
//http://120.26.242.42/wx/deltag.php